<script setup lang="ts">
import {ref} from 'vue';

const msg = ref("Hello World");
const count = ref(1);
</script>

<template>
  <div class="border rounded-3 p-3 mt-3 shadow">
    <!--  把插槽属性传给父组件   -->
    <slot :msg="msg" :count="count">hello</slot>
  </div>
</template>

<style scoped>

</style>